<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 14-5-23
 * Time: 下午11:27
 */
namespace builder\helpers;

use ulue\ext\zui\VerticalMenu;

class BuilderSidebar extends VerticalMenu
{

    static public function menus()
    {
        return array(
            'builder'   =>array(
                'name'      =>'Home',
                'url'       =>'builder/builder',
            ),
            'gapp'   =>array(
                'name'      =>'APP',
                'url'       =>'builder/gapp',
            ),
            'gmodule'   =>array(
                'name'      =>'Module',
                'url'       =>'builder/gmodule',
            ),
            'mvc'   =>array(
                'name'      =>'Build MVC',
                //'url'       =>'builder/mvc' | empty
                'son'       =>array(
                    'gmodel'   =>array(
                        'name'      =>'Build Model',
                        'url'       =>'builder/gmodel',
                    ),
                    'gview'   =>array(
                        'name'      =>'Build View',
                        'url'       =>'builder/gview',
                    ),
                    'gcontrol'   =>array(
                        'name'      =>'Build Controller',
                        'url'       =>'builder/gcontrol',
                    ),
                )
            ),
        );
    }

}